//
//  FamilyModel.h
//  AILock
//
//  Created by 谭亚明 on 2020/6/23.
//  Copyright © 2020 tym. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface FamilyModel : NSObject<NSCoding, NSCopying>

@property(nonatomic,copy) NSString  *familyName;
@property(nonatomic,copy) NSString  *familyDesc;
@property(nonatomic,copy) NSString  *image;
@property(nonatomic,copy) NSString  *mobile;
@property(nonatomic,assign) NSUInteger familyId;
@property(nonatomic,assign) NSInteger  familyRole;//家庭角色 1/家长 2/成员
@property(nonatomic,copy) NSString  *status;//家庭状态 1/正常 2/冻结、锁定
@property(nonatomic,copy) NSArray<FamilyModel*>  *familyUsers;
@property(nonatomic,copy) NSString *familyMember;//是否是家庭成员 true/是

-(NSString*)getRoleStr;

-(NSString*)getFamileHeadImage;
@end

NS_ASSUME_NONNULL_END
